package org.example.xxljob;

import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class PullOrderXxlJob {
    /**
     * 1、简单任务示例（Bean模式）
     */
    @XxlJob("PullOrderXxlJob")
    public ReturnT<String> helloWorldXxlJob(String param) throws Exception {
        System.out.println("执行定时任务");
        return ReturnT.SUCCESS;
    }

}